import { IVatsimFlightPlan } from "./IVatsimFlightPlan";

export interface IVatsimPilot {
    /**
     * Pilot's VATSIM ID
     */
    cid: number;
    /**
     * Pilot's full name
     */
    name: string;
    /**
     * Aircraft callsign
     */
    callsign: string;
    /**
     * Pilot's current server ident
     */
    server: string;
    /**
     * Pilot's pilot rating ID
     */
    pilot_rating: number;
    /**
     * Pilot's military rating ID
     */
    military_rating: number;
    /**
     * Aircraft latitude (deg)
     */
    latitude: number;
    /**
     * Aircraft longitude (deg)
     */
    longitude: number;
    /**
     * Aircraft altitude (ft MSL)
     */
    altitude: number;
    /**
     * Aircraft ground speed (kts)
     */
    groundspeed: number;
    /**
     * Aircraft transponder code
     */
    transponder: string;
    /**
     * Aircraft heading (deg. magnetic)
     */
    heading: number;
    /**
     * Aircraft QNH (inHg)
     */
    qnh_i_hg: number;
    /**
     * Aircraft QNH (mbar)
     */
    qnh_mb: number;
    /**
     * Pilot's flight plan, if filed
     */
    flight_plan: IVatsimFlightPlan;
    /**
     * When this pilot connected
     */
    logon_time: string;
    /**
     * When this pilot's status was last received
     */
    last_updated: string;
}